package yyh.tianbiao.beanUP;

import java.util.Calendar;


public class IntermediateValuesBean {
	private String inhosptial_id;
	private String patient_code;
	private String value;
	private String incase_no;
	private Calendar incase_date;
	
	
	
	@Override
	public String toString() {
		return "IntermediateValuesBean [inhosptial_id=" + inhosptial_id
				+ ", patient_code=" + patient_code + ", value=" + value
				+ ", incase_no=" + incase_no + ", incase_date=" + incase_date
				+ "]";
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((incase_date == null) ? 0 : incase_date.hashCode());
		result = prime * result
				+ ((incase_no == null) ? 0 : incase_no.hashCode());
		result = prime * result
				+ ((inhosptial_id == null) ? 0 : inhosptial_id.hashCode());
		result = prime * result
				+ ((patient_code == null) ? 0 : patient_code.hashCode());
		result = prime * result + ((value == null) ? 0 : value.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		IntermediateValuesBean other = (IntermediateValuesBean) obj;
		if (incase_date == null) {
			if (other.incase_date != null)
				return false;
		} else if (!incase_date.equals(other.incase_date))
			return false;
		if (incase_no == null) {
			if (other.incase_no != null)
				return false;
		} else if (!incase_no.equals(other.incase_no))
			return false;
		if (inhosptial_id == null) {
			if (other.inhosptial_id != null)
				return false;
		} else if (!inhosptial_id.equals(other.inhosptial_id))
			return false;
		if (patient_code == null) {
			if (other.patient_code != null)
				return false;
		} else if (!patient_code.equals(other.patient_code))
			return false;
		if (value == null) {
			if (other.value != null)
				return false;
		} else if (!value.equals(other.value))
			return false;
		return true;
	}
	public String getInhosptial_id() {
		return inhosptial_id;
	}
	public void setInhosptial_id(String inhosptial_id) {
		this.inhosptial_id = inhosptial_id;
	}
	public String getPatient_code() {
		return patient_code;
	}
	public void setPatient_code(String patient_code) {
		this.patient_code = patient_code;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	public String getIncase_no() {
		return incase_no;
	}
	public void setIncase_no(String incase_no) {
		this.incase_no = incase_no;
	}
	public Calendar getIncase_date() {
		return incase_date;
	}
	public void setIncase_date(Calendar incase_date) {
		this.incase_date = incase_date;
	}
	

}
